package com.service.impl;

import com.dao.impl.InstitutyDaoImpl;
import com.dao.InstitutyDao;
import com.service.InstitutyService;
import com.entry.Instituty;

import java.util.ArrayList;

public class InstitutyServiceImpl implements InstitutyService {
    private InstitutyDao institutyDao = new InstitutyDaoImpl();
    @Override
    public ArrayList<Instituty> selectQuery(Instituty instituty) {

        return institutyDao.selectQuery(instituty);
    }

    @Override
    public ArrayList selectAll() {
        return institutyDao.selectAll();
    }
}
